//
//  XHHeaderCommon.h
//  HTTPTEST
//
//  Created by edz on 2020/7/3.
//  Copyright © 2020 LI. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworkReachabilityManager.h>
NS_ASSUME_NONNULL_BEGIN

@interface XHHeaderCommon : NSObject
//用户配置相关参数
@property (nonatomic, copy) NSDictionary *(^headerConfig)(NSInteger status);
+ (instancetype)shareInstance;
//获取header信息
- (NSDictionary *)getHeaderInfo;
- (NSString *)getDeviceUUID;
- (NSString *)getDeviceImei;
- (NSString *)getVersionName;
- (NSString *)getVersionCode;
- (NSString *)getVersionCodeInt;
- (float)getCurrentOSVersion;
- (NSString *)getCurrentLanguage;
- (NSString *) platformString;
- (AFNetworkReachabilityStatus)getDeviceNet;
- (BOOL) currentNetIsAvaliable;
@end

NS_ASSUME_NONNULL_END
